using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using Tool.BaseClass;

namespace Tool
{
	public class Help : Form
	{
		private System.ComponentModel.IContainer components = null;

		private GroupBox gb_qunqq;

		private Label label1;

		private Button bt_copy;

		private LinkLabel ll_url;

		public Help()
		{
			this.InitializeComponent();
		}

		private void bt_copy_Click(object sender, EventArgs e)
		{
			string string_ = this.ll_url.Text.Trim();
			if (GClass0.smethod_0(string_))
			{
				this.bt_copy.Text = "已复制";
			}
		}

		private void ll_url_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			string fileName = this.ll_url.Text.Trim();
			System.Diagnostics.Process.Start(fileName);
		}

		//protected override void vmethod_0(bool bool_0)
		//{
		//	if (bool_0 && this.components != null)
		//	{
		//		this.components.Dispose();
		//	}
		//	base.Dispose(bool_0);
		//}

		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(Help));
			this.gb_qunqq = new GroupBox();
			this.bt_copy = new Button();
			this.ll_url = new LinkLabel();
			this.label1 = new Label();
			this.gb_qunqq.SuspendLayout();
			base.SuspendLayout();
			this.gb_qunqq.Controls.Add(this.bt_copy);
			this.gb_qunqq.Controls.Add(this.ll_url);
			this.gb_qunqq.Controls.Add(this.label1);
			this.gb_qunqq.Location = new System.Drawing.Point(12, 12);
			this.gb_qunqq.Name = "gb_qunqq";
			this.gb_qunqq.Size = new System.Drawing.Size(398, 227);
			this.gb_qunqq.TabIndex = 0;
			this.gb_qunqq.TabStop = false;
			this.bt_copy.Location = new System.Drawing.Point(301, 35);
			this.bt_copy.Name = "bt_copy";
			this.bt_copy.Size = new System.Drawing.Size(72, 23);
			this.bt_copy.TabIndex = 2;
			this.bt_copy.Text = "复制网址";
			this.bt_copy.UseVisualStyleBackColor = true;
			this.bt_copy.Click += new EventHandler(this.bt_copy_Click);
			this.ll_url.ActiveLinkColor = System.Drawing.Color.Gray;
			this.ll_url.AutoSize = true;
			this.ll_url.Cursor = Cursors.Hand;
			this.ll_url.LinkColor = System.Drawing.Color.Blue;
			this.ll_url.Location = new System.Drawing.Point(92, 40);
			this.ll_url.Name = "ll_url";
			this.ll_url.Size = new System.Drawing.Size(203, 12);
			this.ll_url.TabIndex = 1;
			this.ll_url.TabStop = true;
			this.ll_url.Text = "http://smalltool.readthedocs.org/";
			this.ll_url.LinkClicked += new LinkLabelLinkClickedEventHandler(this.ll_url_LinkClicked);
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(21, 40);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(65, 12);
			this.label1.TabIndex = 0;
			this.label1.Text = "教程文档：";
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new System.Drawing.Size(422, 251);
			base.Controls.Add(this.gb_qunqq);
			base.FormBorderStyle = FormBorderStyle.FixedSingle;
			//base.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon");
			base.KeyPreview = true;
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			base.Name = "Help";
			base.Opacity = 0.96;
			base.ShowInTaskbar = false;
			base.StartPosition = FormStartPosition.CenterParent;
			this.Text = "使用帮助";
			this.gb_qunqq.ResumeLayout(false);
			this.gb_qunqq.PerformLayout();
			base.ResumeLayout(false);
		}
	}
}
